package com.jh.readme.iu.activity.setting;

import android.support.v7.widget.Toolbar;
import android.view.MenuItem;

import com.jh.readme.R;
import com.jh.tools.base.BaseActivity;

public class SettingActivity extends BaseActivity<SettingPresenter,SettingModel> implements SettingContract.View{

    @Override
    public int getLayoutId() {
        return R.layout.activity_setting;
    }

    @Override
    public void initView() {
        Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
        setSupportActionBar(toolbar);
        getSupportActionBar().setDisplayHomeAsUpEnabled(true);
    }

    @Override
    public void initPresenter() {
        mPresenter.setVM(this,mModel,this);
    }
}
